attachVulkanSurface

fun MapHandle.attachVulkanSurface(descriptor: VulkanSurfaceDescriptor, options: RenderSessionAttachOptions): RenderSessionHandle

Creates a session that renders the map to a Vulkan surface.

See mln_map_attach_vulkan_surface in the C API reference.

Errors:

  • Status.UNSUPPORTED when supportedRenderBackendMask() lacks RenderBackendFlag.VULKAN.